ACPI: disable ACPI cleanly when bad RSDP found
authorLen Brown <len.brown@intel.com>
Wed, 9 Sep 2015 14:26:12 +0000 (16:26 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 9 Sep 2015 14:26:12 +0000 (16:26 +0200)
commit0f09ae7bcbef680c9a6edb816557d1af4179b591
tree2ba7fc8d372ed065f90b9d817169aed03dcfc1ac
parentcf5efd610fe58160ceba3b5daece79c6a245c8fc
ACPI: disable ACPI cleanly when bad RSDP found

When ACPI is disabled in the BIOS of this VIA C3 box,
it invalidates the RSDP, which Linux notices:

ACPI Error (tbxfroot-0218): A valid RSDP was not found [20080926]

Bug Linux neglected to disable ACPI at that stage,
and later scribbled on smp_found_config:

ACPI: No APIC-table, disabling MPS

But this box doesn't run well in legacy PIC mode,
it needed IOAPIC mode to perform correctly:

http://lkml.org/lkml/2009/2/5/39

So exit ACPI mode cleanly when we first detect
that it is hopeless.

Signed-off-by: Len Brown <len.brown@intel.com>
[Linux commit 9e3a9d1ed8cc8db93e5c53e9a5b09065bd95de8b]
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
xen/drivers/acpi/tables.c